<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>${user.name}</title>
</head>
<body>
    <div>
        <p th:text="'ID:'+${user.id}"></p>
        <p th:text="'用户名:'+${user.name != null ? user.name : ''}"></p>
        <p th:text="'密码:'+${user.password != null ? user.password : ''}"></p>
    </div>
</body>
</html>